package com.mystudy.springcloud.controller.service;

import com.mystudy.springcloud.entities.CommonResult;
import com.mystudy.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentOpenFeignClientServiceImpl implements PaymentOpenFeignClientService {
	@Override
	public CommonResult<Payment> paymentSQL(Long id) {
		Payment payment = new Payment(id, "这个人是个笨蛋！");
		return new CommonResult<>(555, "OpenFeign远程调用服务提供者的方法的兜底方法", payment);
	}
}
